class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :check_auth
  
  def check_auth
    redirect_to :controller => 'auth', :action => 'auth' unless cookies[:authentificated]
  end
end
